package myky.com.doctorapp.contract;

import io.reactivex.Observable;
import myky.com.doctorapp.entity.UserEntity;
import myky.com.doctorapp.base.BaseEntity;
import myky.com.doctorapp.base.BaseView;

public interface MineFragmentContract {


    interface Model {
        /**
         * 个人中心获取用户信息
         *
         * @return
         */
        Observable<BaseEntity<UserEntity.PayLoadBean>> getuserinfo();
    }

    interface View extends BaseView<UserEntity.PayLoadBean> {

       void showUserInfo(UserEntity.PayLoadBean userBean);
    }

    interface Presenter {
        void getUserInfo();
    }
}
